OCLOperators allLoadedObjects
This page was created by Hans.karlsen@mdriven.net on 2017-08-11. Last edited by Stephanie@mdriven.net on 2025-02-10.

The allinstances operator returns all objects of the class, but this operator - the allLoadedObjects - only returns the objects that are currently loaded. It does not look in the database at all. Hence, it does not load any new objects.

This operator is not your best first choice. Use it with caution, since the result depends on the current state of your application instance and as such, you may be surprised by the results and think it is inconsistent.